package com.wto;

public class UtilSqlFactory
{
	public IUtilSql createUtilSql(String type)
	{
		if(type.equals("teacher"))
		{
			return new UtilTeacherSql();
		}
		if(type.equals("lesson"))
		{
			return new UtilLessonSql();
		}
		if(type.equals("classroom"))
		{
			return new UtilClassRoomSql();
		}
		return null;
	}
}
